﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    //父类
    class Calculate
    {
         protected int a;
        protected int b;
        
        public Calculate()
        {

        }
        public Calculate(int a ,int b)
        {
            this.a = a;
            this.b = b;

        }
        public virtual void DisplayResult()
        {
           ;
            
    }
    }
}
